package com.bcu.calculus.service;

import com.bcu.calculus.entity.Act;
import com.bcu.calculus.entity.ActNumber;
import com.bcu.calculus.entity.Message;

import java.text.ParseException;
import java.util.List;

public interface ActService {

    Message<?> insert(ActNumber actNumber) throws ParseException;

    Message<?> deleteByPrimaryKey(Integer actId);

    Message<?> updateByPrimaryKey(ActNumber actNumber) throws ParseException;

    Message<Act> selectByPrimaryKey(Integer actId);

    Message<List<Act>> selectAllAct();

    Message<List<Act>> selectActsBySendId(String sendId);
}
